<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$this->load->view('admin/header');

$this->load->view('admin/user_search');


?>





<center>
 

<br>
<table cellspacing="1" cellpadding="4" bgcolor="#ffffff" width="100%">
<tbody>
<tr bgcolor="#5d7790" align="middle">
<td width="20%"><b><font color="#ffffff">用户名</font></b></td>
<td width="20%"><b><font color="#ffffff">用户组</font></b></td>
<td width="20%"><b><font color="#ffffff">用户组</font></b></td>
<td width="20%"><b><font color="#ffffff">Email</font></b></td>
<td width="20%"><b><font color="#ffffff">操作</font></b></td>
</tr>
<?php if(!empty($users) && is_array($users)):?>
	<?php foreach ($users as $user):?>
	<?php # var_dump($user); exit;?>
<tr bgcolor="#efefef" align="middle">
<td><?php echo $user->username;?></td>
<td><?php echo $user->group;?></td>
<td><?php echo $user->activated;?></td>
<td><a class="nav" href="mailto:admin@admin.com"><?php echo $user->email;?></a></td>
<td>
<a href="us_edit.php?id=1">编辑</a>
<a href="us_del.php?id=1">删除</a>
</td>
</tr>
	<?php endforeach;?>
<?php endif;?>

</tbody></table>

<table cellspacing="0" cellpadding="4" border="0" width="100%"><tbody>
<tr><td align="right">

<?php echo $this->pagination->create_links();?>



</td></tr>
</tbody></table>

</center>


<?php 
#$this->load->view('admin/common-js');
$this->load->view('admin/copyright');
$this->load->view('admin/footer');

/* End of file user_manage.php */
/* Location: ./application/model/admin/user_manage.php */